package org.odk.collect.android.model;

import java.util.ArrayList;

public class Project {
    
    Integer id;
    String externalUid;
    String title;
    Integer clientId;

    public Project() {
    }

    public Project(Integer id, String externalUid, String title, Integer clientId) {
        this.id = id;
        this.externalUid = externalUid;
        this.title = title;
        this.clientId = clientId;
    }

    public static ArrayList<Project> getDemoProjectList() {
        ArrayList list = new ArrayList<Project>();
        list.add(new Project(1, "PO001", "Garments", 1));
        list.add(new Project(2, "PO002", "Tablets", 1));
        list.add(new Project(3, "PO003", "Water Pumps", 1));
        list.add(new Project(4, "PO004", "Steel Cable", 1));
        list.add(new Project(5, "PO005", "Speakers", 1));
        list.add(new Project(6, "PO006", "Laptops IBM", 1));
        return list;
    }


    // getter and setter

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getExternalUid() {
        return externalUid;
    }

    public void setExternalUid(String externalUid) {
        this.externalUid = externalUid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }
}
